<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>编辑账目分类</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="__PUBLIC__/css/layui.css"  media="all">
    <link rel="stylesheet" href="__PUBLIC__/css/public.css"  media="all">
</head>
<body>
<div class="layui-conter">
    <div class="layui-col-md12">
        <div class="navigation">
            <span>行政></span><span>记账管理></span><span>编辑账目分类</span>
        </div>
        <div class="white-conter selsectSet">
            <div class="title-blue"><b>编辑账目分类</b></div>
            <div style="margin-top: 20px">
                <form class="layui-form" action="__CONTROLLER__/AccountSetupSave" method="post">
                    <input type="hidden" value="{$data.id}" name="id">
                    <div class="layui-col-md6">
                        <div class="layui-col-md10">
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b>分类名称</b></label>
                                </div>
                                <div class="input-block">
                                    <input type="text" name="name" value="{$data.name}" autocomplete="off" placeholder="请输入..." class="layui-input">
                                </div>
                            </div>
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b>备注</b></label>
                                </div>
                                <div class="input-block">
                                    <input type="text" name="mark" value="{$data.mark}" autocomplete="off" placeholder="请输入..." class="layui-input">
                                </div>
                            </div>
                            <div class=" layui-col-xs3" >
                                <label class="layui-form-label">开启状态：</label>
                                <div class="layui-input-block">
                                    <select name="status">
                                        <volist name="status" id="sl" key="kl">
                                            <option value="{$kl}" <if condition="$data.status eq $kl">selected</if> >{$sl}</option>
                                        </volist>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md12" style="margin-top: 50px;">
                        <!--<div class="button-block">-->
                            <button class="layui-btn layui-btn-xs layui-btn-normal" lay-submit="" style="height: 30px;width: 60px;">提交</button>
                            <button  class="layui-btn layui-btn-xs btn-grey" style="height: 30px;width: 60px;">返回</button>
                        <!--</div>-->
                    </div>
                </form>
            </div>
        </div>

    </div>

</div>




<script src="__PUBLIC__/js/layui.all.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
    layui.use(['form', 'layedit', 'laydate'], function(){
        var form = layui.form
            ,layer = layui.layer
            ,layedit = layui.layedit
            ,laydate = layui.laydate;
        //日期
        laydate.render({
            elem: '#signDate'
        });
        laydate.render({
            elem: '#endDate'
        });
    });
</script>
</body>
</html>